﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="userbaseinfo.aspx.cs" Inherits="MxWeiXinPF.Web.shop.userbaseinfo" %>

<%@ Import Namespace="MxWeiXinPF.Common" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>个人信息</title>
    <meta charset="UTF-8">
    <meta name="viewport" content=" initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <script type="text/javascript" src="../scripts/jquery/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../scripts/jquery/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" src="../../scripts/datepicker/WdatePicker.js"></script>
        <script type="text/javascript" src="../admin/js/layout.js"></script>
    <link href="../admin/skin/default/style.css" rel="stylesheet" type="text/css" />
            <link href="/shop/templates/default/css/style.css" rel="stylesheet" />
    <link href="/shop/templates/default/css/templates.css" rel="stylesheet" />

    <script type="text/javascript">
        $(function () {
            //初始化表单验证
            $("#form1").initValidform();
        });
    </script>
</head>
<body class="mainbody">
    <form id="form1" runat="server">
    <input id="hwid" type="hidden" runat="server" />
    <input id="hid" type="hidden" runat="server" />
<!--
       <div class="lay_header" style="height: 45px">
        <div class="lay_toptab mod_tab" id="lay_head">
            <a class="tab_item" href="<%=indexurl %>"><i class="qb_icon icon_goback"></i></a>
            <!--<a class="tab_item tab_item_logo" href="{$indexurl}">
            <img src="{$shopconfig.logo}" />
        </a>
            <a class="tab_item" href="<%=userinfourl %>"><i class="qb_icon icon_icenter"></i>
            </a><a class="tab_item" href="<%=carturl %>"><i class="qb_icon icon_cart"></i></a>
        </div>
        <div class="lay_toptab mod_tab fixed qb_none" id="lay_head_fixed">
            <a class="tab_item" href="<%=indexurl %>"><i class="qb_icon icon_goback"></i></a>
            <!--<a class="tab_item tab_item_logo" href="{$indexurl}">
           <img src="{$shopconfig.logo}" style="width: 132px; margin-top: 8px;" />
        </a>
            <a class="tab_item" href="<%=userinfourl %>"><i class="qb_icon icon_icenter"></i>
            </a><a class="tab_item" href="<%=carturl %>"><i class="qb_icon icon_cart"></i></a>
        </div>
    </div>
-->
    <!--导航栏-->
    <div class="location">
        <span>完善个人信息</span>
    </div>
    <!--/导航栏-->
    <!--内容-->
    <div class="tab-content">
        <dl>
            <dt style=" width:65px; text-align:center">邮箱账号</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txtEmail" runat="server" CssClass="input txt" errormsg="请输入正确的邮箱号码" sucmsg=" "></asp:TextBox></dd>
        </dl>
        <dl>
            <dt style=" width:65px; text-align:center">用户昵称</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txtNickName" runat="server" CssClass="input txt"></asp:TextBox></dd>
        </dl>
        <dl style="display:none">
            <dt style=" width:65px; text-align:center">上传头像</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txtAvatar" runat="server" CssClass="input normal upload-path"></asp:TextBox>
                <div class="upload-box upload-img">
                </div>
            </dd>
        </dl>
        <dl>
            <dt style=" width:65px; text-align:center">真实姓名</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txttruename" runat="server" CssClass="input txt" datatype="*"
                    nullmsg="真实姓名不能为空"></asp:TextBox></dd>
        </dl>
        <dl>
            <dt style=" width:65px; text-align:center">用户性别</dt>
            <dd style="margin-left:75px">
                <div class="rule-multi-radio">
                    <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <asp:ListItem Value="男">男</asp:ListItem>
                        <asp:ListItem Value="女">女</asp:ListItem>
                    </asp:RadioButtonList>
                </div>
            </dd>
        </dl>
        <dl>
            <dt style=" width:65px; text-align:center">生日日期</dt>
            <dd style="margin-left:75px">
                <div class="input-date">
                    <asp:TextBox ID="txtBirthday" runat="server" CssClass="input normal date" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'1900-01-01'})"
                        datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/" nullmsg="出生日期不能为空" errormsg="请选择正确的日期"
                        sucmsg=" " />
                    <i>日期</i>
                </div>
            </dd>
        </dl>
        <dl>
            <dt style=" width:65px; text-align:center">手机号码</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txtMobile" runat="server" CssClass="input txt" datatype="/1[3-8]+\d{9}/"
                    nullmsg="手机号码不能为空" errormsg="请输入正确的手机号码" sucmsg=" "></asp:TextBox></dd>
        </dl>
        <dl>
            <dt style=" width:65px; text-align:center">通讯地址</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txtAddress" runat="server" CssClass="input txt" datatype="*0-255"
                    errormsg="至少5个汉字或10个字符" sucmsg=" "></asp:TextBox></dd>
        </dl>
        <dl>
            <dt style=" width:65px; text-align:center">工作性质</dt>
            <dd style="margin-left:75px">
                <asp:TextBox ID="txtjobtype" runat="server" CssClass="input txt" datatype="*2-100"
                    nullmsg="工作性质不能为空" errormsg="至少2个汉字或4个字符" sucmsg=" "></asp:TextBox></dd>
        </dl>
    </div>
    <!--内容-->
    <!--工具栏-->
    <div>
        <div class="btn-list" style=" text-align:center">
            <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" OnClick="btnSubmit_Click" />
<%--            <asp:Button ID="btnHome" runat="server" Text="返回" CssClass="btn yellow" 
                onclick="btnHome_Click" />--%>
            <input type="button" class="btn yellow" value="后退" onclick="window.history.go(-1)" />
        </div>
        <div class="clear">
        </div>
    </div>
    <!--/工具栏-->

    <div class="lay_footer qb_tac qb_fs_s mod_mb15">
        <div id="footer">
            <div class="positionFooter">
                <ul>
                    <li><a class="a1" href="<%=indexurl %>">首页</a></li>
                    <li><a class="a2" href="<%=categoryurl %>">药品分类</a></li>
                    <li><a class="a3" href="<%=carturl %>">购物车</a></li>
                    <li><a class="a4" href="<%=userinfourl %>">会员中心</a></li>
                </ul>
            </div>
        </div>
<%--        <div class="fn_copyright qb_bfc">
            <div class="mod_color_comment bfc_c">&copy;&nbsp; {$shopconfig.copyright}</div>
        </div>--%>
    </div>
    </form>
</body>
</html>
